package com.silverbox.shopper.entity;

import java.util.Date;

/**
box_employee_auth_record
 */
public class EmployeeAuthRecord {
    /**
     * 系统编号
     */
    private Integer id;

    /**
     * 集团编号
     */
    private Integer shopId;

    /**
     * 门店编号
     */
    private Integer storeId;

    /**
     * 集团或门店员工ID
     */
    private Integer employeeId;

    /**
     * 通过哪个途径授权
     */
    private String authSource;

    /**
     * 支付宝某个应用、微信公众号等
     */
    private String authAppid;

    /**
     * 该应用下授权用户标识码
     */
    private String authUserCode;

    /**
     * 该应用对应授权码
     */
    private String authToken;

    /**
     * 授权有效期
     */
    private Date authActiveTime;

    /**
     * 授权时间
     */
    private Date authCreateTime;

    /**
     * 最后一次修改授权时间
     */
    private Date authModifyTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public String getAuthSource() {
        return authSource;
    }

    public void setAuthSource(String authSource) {
        this.authSource = authSource == null ? null : authSource.trim();
    }

    public String getAuthAppid() {
        return authAppid;
    }

    public void setAuthAppid(String authAppid) {
        this.authAppid = authAppid == null ? null : authAppid.trim();
    }

    public String getAuthUserCode() {
        return authUserCode;
    }

    public void setAuthUserCode(String authUserCode) {
        this.authUserCode = authUserCode == null ? null : authUserCode.trim();
    }

    public String getAuthToken() {
        return authToken;
    }

    public void setAuthToken(String authToken) {
        this.authToken = authToken == null ? null : authToken.trim();
    }

    public Date getAuthActiveTime() {
        return authActiveTime;
    }

    public void setAuthActiveTime(Date authActiveTime) {
        this.authActiveTime = authActiveTime;
    }

    public Date getAuthCreateTime() {
        return authCreateTime;
    }

    public void setAuthCreateTime(Date authCreateTime) {
        this.authCreateTime = authCreateTime;
    }

    public Date getAuthModifyTime() {
        return authModifyTime;
    }

    public void setAuthModifyTime(Date authModifyTime) {
        this.authModifyTime = authModifyTime;
    }
}